﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
    public interface IQuestionRepository
    {
        Question GetById(int questionId);
        IQueryable<Question> GetAll();

        void AddQuestion(Question q);
        void UpdateQuestion(Question q, int stt, string mota);
        void DeleteQuestion(Question q);
    }
}
